package com.hk.commons.annotations;

import java.lang.annotation.*;
import java.util.concurrent.TimeUnit;

/**
 * 表单重复提交
 *
 * @author Kevin
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface RepeatSubmit {

    String value() default "request.serialId";

    long expire() default 0;

    TimeUnit unit() default TimeUnit.SECONDS;

}
